﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using PersonalWebSite.Common;

namespace PersonalWebSite.Controllers
{
    public class TilesController : BaseController
    {
        public ActionResult Contact()
        {
            return View();
        }

        public ActionResult Button(string Tip, string IconName, string NavigateUrl, string OnClick)
        {
            ViewData["Tip"] = Tip;
            ViewData["IconName"] = IconName;
            ViewData["NavigateUrl"] = NavigateUrl;
            ViewData["OnClick"] = OnClick;
            return View();
        }

        public ActionResult Content()
        {
            return View();
        }

        public ActionResult Activity()
        {
            ViewData["Clickable"] = true;
            return View();
        }

        public ActionResult PhotoAlbum()
        {
            ViewData["Clickable"] = true;
            return View();
        }

        public ActionResult Photo()
        {
            ViewData["Clickable"] = true;
            return View();
        }

        public ActionResult Video()
        {
            ViewData["Clickable"] = true;
            return View();
        }

        public ActionResult Link()
        {
            ViewData["Clickable"] = true;
            return View();
        }

        public ActionResult Quotes()
        {
            ViewData["Clickable"] = false;
            return View();
        }

        [HttpPost]
        public ActionResult FetchQuotes()
        {
            return Json(QuotesManager.FetchQuotes());
        }

        public ActionResult WorldTime()
        {
            ViewData["Clickable"] = false;
            return View();
        }

        public ActionResult GooglePlusOne()
        {
            ViewData["Clickable"] = false;
            return View();
        }

        public ActionResult ComingSoon()
        {
            ViewData["Clickable"] = false;
            return View();
        }
    }
}
